# -*- coding: utf-8 -*-
#!/usr/bin/env python

import jinja2
import os

from datetime import datetime
from utils import *

jinja_environment = jinja2.Environment(
	loader=jinja2.FileSystemLoader(os.path.dirname(__file__)),
	extensions=['jinja2.ext.autoescape'])

APP_DEBUG = True

PLATFORM_IOS = 1
PLATFORM_PLAYSTORE = 2

DOMAIN = "http://zerodyproject-d.appspot.com"

KAKAO_CLIENT_ID = 89925011480848081
KAKAO_SECRET_KEY = "49784ba69b81e0b2c5d7ea5d3a200d3b0121b462f18c449a3d02ff8c036257ca"

STORE_URL_IOS = "itms-apps://ax.itunes.apple.com/WebObjects/MZStore.woa/wa/viewContentsUserReviews?type=Purple+Software&id=834004626"
APPSTORE_BID = "com.funigloo.masimaroforkakao"

GCM_KEY = "AIzaSyBXjuUagB-EPPkKD_r4ycxmzywsKYuK6kk"
STORE_URL_PLAYSTORE = "market://details?id=togplus.funy.masimaro"

MAX_FEED_BOUT = 5
MAX_ADOPT = 10
FEED_SLOTS = 5 # 호감도 행동 개수
MAX_ITEMS = 4  # 선택아이템4개(400,500,700,1000) + 가차 2
MAX_CHARACTER_LEVEL = 20

GAME_NAMES = [u"색깔 팍팍", u"변기 팍팍", u"동전 팍팍", u"낚시 팍팍", u"퍼즐 팍팍",]
GAME_COUNT = len(GAME_NAMES)

INTERVAL_FEED_BOUT = (60*5)
INTERVAL_SEND_BOUT = (60*60*3)
INTERVAL_REQUEST_BOUT = (60*60*24)
INTERVAL_INVITE = (60*60*24*30)+10 # 30days

ALLOWANCE_SYNC_SECONDS = 5

EXPIRE_INTERVAL_FOR_WEEKLY = 60*60*24*7 # each 1weeks

EXPIRE_INTERVAL_SESSION = 60*60*24*7 # each 1weeks

INTERVAL_ACTIONS = [60*30, 60*30, 60*30, 60*30, 60*30]
ITEM_COINS = [800,700,1000,1000]

TRIGGER_LOGIN = 0
TRIGGER_GAME_RESULT = 1
TRIGGER_BUFF = 2
TRIGGER_FEED = 3
TRIGGER_INVITE = 4

REWARD_NONE = -1
REWARD_CASH = 0
REWARD_COIN = 1
REWARD_BOUT = 2
REWARD_CHARACTER = 3
REWARD_MAX = 4
			
ICON_CASH = 0
ICON_COIN = 1
ICON_BOUT = 2
ICON_ALERT = 3

FROM_NONE = 0
FROM_FRIEND = 1 # 친구로부터
FROM_ADMIN = 2  # 관리자로부터

ACTION_NAMES = [u"회원가입",u"로그인",u"앱 업데이트",u"에셋 업데이트",u"로그인제한",u"앱친구들",u"결제시도",
	u"결제결과",u"코인구매",u"당근구매",u"시즌보상",u"알림설정",u"튜토리얼",u"준비",u"자랑하기",u"당근보내기",u"당근요청",
	u"친구초대",u"캐릭터구매",u"캐릭터장착",u"캐릭터입양",u"호감도행동",u"호감도버프",u"쿨타임초기화",u"아이템장착/해제",
	u"아이템가차",u"일일포인트가차",u"게임시작",u"게임결과",u"이어하기",u"우편받기",u"회원탈퇴"]
		
ACTION_REGISTER = 0
ACTION_LOGIN = 1
ACTION_APP_UPDATE = 2
ACTION_ASSET_UPDATE = 3
ACTION_RESTRICTED = 4
ACTION_APPFRIENDS = 5
ACTION_READY_IAP = 6
ACTION_IAP = 7
ACTION_BUY_COIN = 8
ACTION_BUY_BOUT = 9
ACTION_SEASON_REWARD = 10
ACTION_BLOCK = 11
ACTION_TUTORIAL = 12
ACTION_READY = 13
ACTION_BOAST = 14
ACTION_SEND_BOUT = 15
ACTION_REQUEST_BOUT = 16
ACTION_INVITE_APP = 17
ACTION_BUY_CHARACTER = 18
ACTION_EQUIP_CHARACTER = 19
ACTION_ADOPT_CHARACTER = 20
ACTION_FEED_CHARACTER = 21
ACTION_BUFF = 22
ACTION_CLEAR_COOLTIME = 23
ACTION_EQUIP_ITEM = 24
ACTION_GACHA_ITEM = 25
ACTION_USE_DAILYPOINT = 26
ACTION_GAME_START = 27
ACTION_GAME_RESULT = 28
ACTION_USE_CONTINUE = 29
ACTION_CONFIRM_INBOX = 30
ACTION_UNREGISTER = 31


TUTORIAL_BONUS_GAME = 0x00000001
TUTORIAL_FEVER = 0x00000002
TUTORIAL_MENU = 0x00000004
TUTORIAL_GAME1 = 0x00000008
TUTORIAL_GAME2 = 0x00000010
TUTORIAL_GAME3 = 0x00000020
TUTORIAL_GAME4 = 0x00000040
TUTORIAL_GAME5 = 0x00000080

STAT_REGISTER = "{0}_register"
STAT_LOGIN = "{0}_login"
STAT_DAU = "{0}_dau"
STAT_BUY_CASH = "{0}_bcash_{1}"
STAT_PRESENT_CASH = "{0}_pcash_{1}"
STAT_BUY_COIN = "{0}_bcoin_{1}"
STAT_BUY_BOUT = "{0}_bbout_{1}"
STAT_BOAST = "{0}_boast"
STAT_SEND_BOUT = "{0}_sbout"
STAT_REQ_BOUT = "{0}_rbout"
STAT_INVITE = "{0}_invite"
STAT_BUY_CHAR = "{0}_bchar_{1}"
STAT_ADOPT_CHAR = "{0}_achar_{1}"
STAT_FEED_SELF_CHAR = "{0}_fschar_{1}"
STAT_FEED_FRIEND_CHAR = "{0}_ffchar_{1}"
STAT_BUFF = "{0}_buff_{1}"
STAT_CLEAR_COOLTIME = "{0}_ccool"
STAT_GACHA_ITEM = "{0}_igacha"
STAT_USE_DAILYPOINT = "{0}_udpoint"
STAT_USE_ITEM = "{0}_uitem_{1}_{2}"
STAT_GAME = "{0}_game_{1}"
STAT_CONTINUE = "{0}_continue"
STAT_UNREGISTER = "{0}_unregister"
STAT_REVIEW = "{0}_review"
STAT_REWARDS = "{0}_reward_{1}"

ABUSE_NETWORK_HACK = 0
ABUSE_MEMORY_HACK = 1
ABUSE_BINARY_HACK = 2
ABUSE_DEVICE_HACK = 3
ABUSE_IAP_HACK = 4
ABUSE_IAP_FAIL = 5

INVITE_REWARDS = {
	5:{"reward":REWARD_COIN, "rewardArg":2000},
	10:{"reward":REWARD_COIN, "rewardArg":5000},
	20:{"reward":REWARD_COIN, "rewardArg":15000},
	30:{"reward":REWARD_CASH, "rewardArg":30},
	40:{"reward":REWARD_CHARACTER, "rewardArg":4}
}

LEVEL_TABLE = [0,1000,2180,3570,5210,7140,9420,12120,15300,19050,23480,28710,34880,42160,50760,60860,72760,86860,103460,123060,]


PRODUCTS_JSON_RELEASE = {
	"addball": { "current_amount":500, "origin_amount":500},
	"starball":
		[
			{"id":1,"cash":12,"current_amount":3,"origin_amount":3},
			{"id":2,"cash":60,"current_amount":15,"origin_amount":15},
			{"id":3,"cash":120,"current_amount":35,"origin_amount":35},		
		],
	"doubleball":
		[
			{"id":1,"cash":25,"current_amount":3,"origin_amount":3},
			{"id":2,"cash":125,"current_amount":15,"origin_amount":15},
			{"id":3,"cash":250,"current_amount":35,"origin_amount":35},		
		],
	"bigball":
		[
			{"id":1,"cash":30,"current_amount":3,"origin_amount":3},
			{"id":2,"cash":150,"current_amount":15,"origin_amount":15},
			{"id":3,"cash":300,"current_amount":35,"origin_amount":35},		
		],
	"fireball":
		[
			{"id":1,"cash":50,"current_amount":3,"origin_amount":3},
			{"id":2,"cash":250,"current_amount":15,"origin_amount":15},
			{"id":3,"cash":500,"current_amount":35,"origin_amount":35},		
		],
	"clearone":
		[
			{"id":1,"cash":100,"current_amount":3,"origin_amount":3},
			{"id":2,"cash":500,"current_amount":15,"origin_amount":15},
			{"id":3,"cash":1000,"current_amount":35,"origin_amount":35},		
		],
	"showbounce":
		[
			{"id":1,"cash":25,"current_amount":3,"origin_amount":3},
			{"id":2,"cash":125,"current_amount":15,"origin_amount":15},
			{"id":3,"cash":250,"current_amount":35,"origin_amount":35},		
		],
	"shotfire":
		[
			{"id":1,"cash":50,"current_amount":3,"origin_amount":3},
			{"id":2,"cash":250,"current_amount":15,"origin_amount":15},
			{"id":3,"cash":500,"current_amount":35,"origin_amount":35},		
		],
	"boom":
		[
			{"id":1,"cash":100,"current_amount":3,"origin_amount":3},
			{"id":2,"cash":500,"current_amount":15,"origin_amount":15},
			{"id":3,"cash":1000,"current_amount":35,"origin_amount":35},		
		],				
	"cashes":
		[
			{"id":1,"current_amount":10,"origin_amount":10,"USD":0.99,"KRW":1100},
			{"id":2,"current_amount":50,"origin_amount":50,"USD":4.99,"KRW":5500},
			{"id":3,"current_amount":100,"origin_amount":100,"USD":9.99,"KRW":11000},
			{"id":4,"current_amount":300,"origin_amount":300,"USD":24.99,"KRW":33000},
			{"id":5,"current_amount":500,"origin_amount":500,"USD":39.99,"KRW":55000},
			{"id":6,"current_amount":900,"origin_amount":900,"USD":49.99,"KRW":99000},			
		],
	"coins":
		[
			{"id":1,"cash":10,"current_amount":5000,"origin_amount":5000},
			{"id":2,"cash":50,"current_amount":25000,"origin_amount":25000},
			{"id":3,"cash":100,"current_amount":50000,"origin_amount":50000},
			{"id":4,"cash":300,"current_amount":150000,"origin_amount":150000},
			{"id":5,"cash":500,"current_amount":250000,"origin_amount":250000},
			{"id":6,"cash":700,"current_amount":350000,"origin_amount":350000},
		],
	"bouts":
		[
			{"id":1,"cash":10,"current_amount":5,"origin_amount":5},
			{"id":2,"cash":35,"current_amount":20,"origin_amount":20},			
		],	
	"daily-missions":
		[
			# kind - 0: 콤보, 1: 점수, 2: 피버, 3: 플레이, 4: 호감도100%, 5: 호감도액션, 6: 출석
			# reward_type - 0:복숭아, 1:코인, 2:당근
			{"id":1,"kind":0,"name":u"색깔 팍팍 10콤보(코인x300)","condition":"game==0 and combo>=10","reward":1,"amount":300},
			{"id":2,"kind":0,"name":u"변기 팍팍 10콤보(코인x300)","condition":"game==1 and combo>=10","reward":1,"amount":300},
			{"id":3,"kind":0,"name":u"동전 팍팍 10콤보(코인x300)","condition":"game==2 and combo>=10","reward":1,"amount":300},
			{"id":4,"kind":0,"name":u"낚시 팍팍 10콤보(코인x300)","condition":"game==3 and combo>=10","reward":1,"amount":300},
			{"id":5,"kind":0,"name":u"퍼즐 팍팍 10콤보(코인x300)","condition":"game==4 and combo>=10","reward":1,"amount":300},
			{"id":6,"kind":0,"name":u"색깔 팍팍 20콤보(코인x500)","condition":"game==0 and combo>=20","reward":1,"amount":500},
			{"id":7,"kind":0,"name":u"변기 팍팍 20콤보(코인x500)","condition":"game==1 and combo>=20","reward":1,"amount":500},
			{"id":8,"kind":0,"name":u"동전 팍팍 20콤보(코인x500)","condition":"game==2 and combo>=20","reward":1,"amount":500},
			{"id":9,"kind":0,"name":u"낚시 팍팍 20콤보(코인x500)","condition":"game==3 and combo>=20","reward":1,"amount":500},
			{"id":10,"kind":0,"name":u"퍼즐 팍팍 20콤보(코인x500)","condition":"game==4 and combo>=20","reward":1,"amount":500},
			{"id":11,"kind":0,"name":u"색깔 팍팍 30콤보(코인x1000)","condition":"game==0 and combo>=30","reward":1,"amount":1000},
			{"id":12,"kind":0,"name":u"변기 팍팍 30콤보(코인x1000)","condition":"game==1 and combo>=30","reward":1,"amount":1000},
			{"id":13,"kind":0,"name":u"동전 팍팍 30콤보(코인x1000)","condition":"game==2 and combo>=30","reward":1,"amount":1000},
			{"id":14,"kind":0,"name":u"낚시 팍팍 30콤보(코인x1000)","condition":"game==3 and combo>=30","reward":1,"amount":1000},
			{"id":15,"kind":0,"name":u"퍼즐 팍팍 30콤보(코인x1000)","condition":"game==4 and combo>=30","reward":1,"amount":1000},
			{"id":16,"kind":1,"name":u"색깔 팍팍 100000점(코인x300)","condition":"game==0 and score>=100000","reward":1,"amount":300},
			{"id":17,"kind":1,"name":u"변기 팍팍 100000점(코인x300)","condition":"game==1 and score>=100000","reward":1,"amount":300},
			{"id":18,"kind":1,"name":u"동전 팍팍 100000점(코인x300)","condition":"game==2 and score>=100000","reward":1,"amount":300},
			{"id":19,"kind":1,"name":u"낚시 팍팍 100000점(코인x300)","condition":"game==3 and score>=100000","reward":1,"amount":300},
			{"id":20,"kind":1,"name":u"퍼즐 팍팍 100000점(코인x300)","condition":"game==4 and score>=100000","reward":1,"amount":300},
			{"id":21,"kind":1,"name":u"색깔 팍팍 200000점(코인x500)","condition":"game==0 and score>=200000","reward":1,"amount":500},
			{"id":22,"kind":1,"name":u"변기 팍팍 200000점(코인x500)","condition":"game==1 and score>=200000","reward":1,"amount":500},
			{"id":23,"kind":1,"name":u"동전 팍팍 200000점(코인x500)","condition":"game==2 and score>=200000","reward":1,"amount":500},
			{"id":24,"kind":1,"name":u"낚시 팍팍 200000점(코인x500)","condition":"game==3 and score>=200000","reward":1,"amount":500},
			{"id":25,"kind":1,"name":u"퍼즐 팍팍 200000점(코인x500)","condition":"game==4 and score>=200000","reward":1,"amount":500},
			{"id":26,"kind":1,"name":u"색깔 팍팍 300000점(코인x1000)","condition":"game==0 and score>=300000","reward":1,"amount":1000},
			{"id":27,"kind":1,"name":u"변기 팍팍 300000점(코인x1000)","condition":"game==1 and score>=300000","reward":1,"amount":1000},
			{"id":28,"kind":1,"name":u"동전 팍팍 300000점(코인x1000)","condition":"game==2 and score>=300000","reward":1,"amount":1000},
			{"id":29,"kind":1,"name":u"낚시 팍팍 300000점(코인x1000)","condition":"game==3 and score>=300000","reward":1,"amount":1000},
			{"id":30,"kind":1,"name":u"퍼즐 팍팍 300000점(코인x1000)","condition":"game==4 and score>=300000","reward":1,"amount":1000},
			{"id":31,"kind":2,"name":u"색깔 팍팍 1피버(코인x300)","condition":"game==0 and fever>=1","reward":1,"amount":300},
			{"id":32,"kind":2,"name":u"변기 팍팍 1피버(코인x300)","condition":"game==1 and fever>=1","reward":1,"amount":300},
			{"id":33,"kind":2,"name":u"동전 팍팍 1피버(코인x300)","condition":"game==2 and fever>=1","reward":1,"amount":300},
			{"id":34,"kind":2,"name":u"낚시 팍팍 1피버(코인x300)","condition":"game==3 and fever>=1","reward":1,"amount":300},
			{"id":35,"kind":2,"name":u"퍼즐 팍팍 1피버(코인x300)","condition":"game==4 and fever>=1","reward":1,"amount":300},
			{"id":36,"kind":2,"name":u"색깔 팍팍 3피버(코인x500)","condition":"game==0 and fever>=3","reward":1,"amount":500},
			{"id":37,"kind":2,"name":u"변기 팍팍 3피버(코인x500)","condition":"game==1 and fever>=3","reward":1,"amount":500},
			{"id":38,"kind":2,"name":u"동전 팍팍 3피버(코인x500)","condition":"game==2 and fever>=3","reward":1,"amount":500},
			{"id":39,"kind":2,"name":u"낚시 팍팍 3피버(코인x500)","condition":"game==3 and fever>=3","reward":1,"amount":500},
			{"id":40,"kind":2,"name":u"퍼즐 팍팍 3피버(코인x500)","condition":"game==4 and fever>=3","reward":1,"amount":500},
			{"id":41,"kind":2,"name":u"색깔 팍팍 5피버(코인x1000)","condition":"game==0 and fever>=5","reward":1,"amount":1000},
			{"id":42,"kind":2,"name":u"변기 팍팍 5피버(코인x1000)","condition":"game==1 and fever>=5","reward":1,"amount":1000},
			{"id":43,"kind":2,"name":u"동전 팍팍 5피버(코인x1000)","condition":"game==2 and fever>=5","reward":1,"amount":1000},
			{"id":44,"kind":2,"name":u"낚시 팍팍 5피버(코인x1000)","condition":"game==3 and fever>=5","reward":1,"amount":1000},
			{"id":45,"kind":2,"name":u"퍼즐 팍팍 5피버(코인x1000)","condition":"game==4 and fever>=5","reward":1,"amount":1000},
			{"id":46,"kind":3,"name":u"색깔 팍팍 1게임(코인x300)","condition":"game==0 and counts[0]==1","reward":1,"amount":300},
			{"id":47,"kind":3,"name":u"변기 팍팍 1게임(코인x300)","condition":"game==1 and counts[1]==1","reward":1,"amount":300},
			{"id":48,"kind":3,"name":u"동전 팍팍 1게임(코인x300)","condition":"game==2 and counts[2]==1","reward":1,"amount":300},
			{"id":49,"kind":3,"name":u"낚시 팍팍 1게임(코인x300)","condition":"game==3 and counts[3]==1","reward":1,"amount":300},
			{"id":50,"kind":3,"name":u"퍼즐 팍팍 1게임(코인x300)","condition":"game==4 and counts[4]==1","reward":1,"amount":300},
			{"id":51,"kind":3,"name":u"색깔 팍팍 3게임(코인x500)","condition":"game==0 and counts[0]==3","reward":1,"amount":500},
			{"id":52,"kind":3,"name":u"변기 팍팍 3게임(코인x500)","condition":"game==1 and counts[1]==3","reward":1,"amount":500},
			{"id":53,"kind":3,"name":u"동전 팍팍 3게임(코인x500)","condition":"game==2 and counts[2]==3","reward":1,"amount":500},
			{"id":54,"kind":3,"name":u"낚시 팍팍 3게임(코인x500)","condition":"game==3 and counts[3]==3","reward":1,"amount":500},
			{"id":55,"kind":3,"name":u"퍼즐 팍팍 3게임(코인x500)","condition":"game==4 and counts[4]==3","reward":1,"amount":500},
			{"id":56,"kind":3,"name":u"색깔 팍팍 5게임(코인x1000)","condition":"game==0 and counts[0]==5","reward":1,"amount":1000},
			{"id":57,"kind":3,"name":u"변기 팍팍 5게임(코인x1000)","condition":"game==1 and counts[1]==5","reward":1,"amount":1000},
			{"id":58,"kind":3,"name":u"동전 팍팍 5게임(코인x1000)","condition":"game==2 and counts[2]==5","reward":1,"amount":1000},
			{"id":59,"kind":3,"name":u"낚시 팍팍 5게임(코인x1000)","condition":"game==3 and counts[3]==5","reward":1,"amount":1000},
			{"id":60,"kind":3,"name":u"퍼즐 팍팍 5게임(코인x1000)","condition":"game==4 and counts[4]==5","reward":1,"amount":1000},
			{"id":61,"kind":5,"name":u"연주하기 3회(코인x500)","condition":"count==3","reward":1,"amount":500},
			{"id":62,"kind":5,"name":u"휴식하기 3회(코인x500)","condition":"count==3","reward":1,"amount":500},
			{"id":63,"kind":5,"name":u"음식먹기 3회(코인x500)","condition":"count==3","reward":1,"amount":500},
			{"id":64,"kind":5,"name":u"공부하기 3회(코인x500)","condition":"count==3","reward":1,"amount":500},
			{"id":65,"kind":5,"name":u"놀기 3회(코인x500)","condition":"count==3","reward":1,"amount":500},
		],
	"weekly-missions":
		[
			# kind - 0: 콤보, 1: 점수, 2: 피버, 3: 플레이, 4: 호감도100%, 5: 호감도액션, 6: 출석
			# reward_type - 0:복숭아, 1:코인, 2:당근
			{"id":1,"kind":3,"name":u"모든 게임 1게임(코인x1500)","condition":"counts[0]>0 and counts[1]>0 and counts[2]>0 and counts[3]>0 and counts[4]>0","reward":1,"amount":1500},
			{"id":2,"kind":6,"name":u"7일 연속 출석(코인x200)","condition":"user.daily_stamp==7","reward":1,"amount":2000},
			{"id":3,"kind":4,"name":u"호감도 버프 1회(코인x2000)","condition":"count==1","reward":1,"amount":2000},
		],
	"achievements":
		[
			# kind - 0: 미션달성, 1: 선물하기, 2: 초대, 3: 캐릭터구매, 4: 캐릭터레벨10, 5: 호감도액션, 6: 호감도 버프, 7: 업적달성률
			# reward_type - 0:복숭아, 1:코인, 2:당근
			{"id":1,"kind":0,"name":u"미션달성 150회(코인x30000)","condition":"user.accrue_record.mission_completed==150","reward":1,"amount":30000},
			{"id":2,"kind":1,"name":u"친구에게 선물 500회(코인x30000)","condition":"user.accrue_record.present==500","reward":1,"amount":30000},
			{"id":3,"kind":2,"name":u"친구초대 10회(코인x15000)","condition":"user.accrue_record.invite==10","reward":1,"amount":5000},
			{"id":4,"kind":2,"name":u"친구초대 20회(코인x15000)","condition":"user.accrue_record.invite==20","reward":1,"amount":10000},
			{"id":5,"kind":2,"name":u"친구초대 30회(코인x15000)","condition":"user.accrue_record.invite==30","reward":1,"amount":15000},
			{"id":6,"kind":2,"name":u"친구초대 40회(코인x20000)","condition":"user.accrue_record.invite==40","reward":1,"amount":20000},
			{"id":7,"kind":3,"name":u"캐릭터 구매 1회(코인x10000)","condition":"user.accrue_record.buy_character==1","reward":1,"amount":10000},
			{"id":8,"kind":4,"name":u"캐릭터 레벨 20달성(코인x20000)","condition":"user.accrue_record.max_character_level==20","reward":1,"amount":20000},
			{"id":9,"kind":5,"name":u"호감도 행동 250회(복숭아x10)","condition":"user.accrue_record.character_action==250","reward":0,"amount":10},
			{"id":10,"kind":6,"name":u"호감도 버프 100회(복숭아x10)","condition":"user.accrue_record.character_buff==100","reward":0,"amount":10},
			{"id":11,"kind":7,"name":u"업적 100%달성(복숭아x20)","condition":"len(user.accrue_record.achieve_rewards)==(len(achievements)-1)","reward":0,"amount":20},
		],
}

def getStorageData(data):
	if data=='cashes':
		now = replace_timezone(datetime.now(),'Asia/Seoul')
		if datetime(2013,10,11)<now<datetime(2013,10,18): # 두배 이벤트를 할 경우 날짜 조절
			return [
				{"id":1,"current_amount":20,"origin_amount":10,"USD":0.99,"KRW":1100},
				{"id":2,"current_amount":110,"origin_amount":55,"USD":4.99,"KRW":5500},
				{"id":3,"current_amount":240,"origin_amount":120,"USD":9.99,"KRW":11000},
				{"id":4,"current_amount":800,"origin_amount":400,"USD":24.99,"KRW":27500},
				{"id":5,"current_amount":1500,"origin_amount":750,"USD":39.99,"KRW":44000},
				{"id":6,"current_amount":110,"origin_amount":55,"USD":2.99,"KRW":3300},
			]
	return PRODUCTS_JSON_RELEASE[data]

